Skip to content

Clean up token page and show USD balance#607

Merged
realproject7 merged 1 commit intomainfrom
task/595-token-page-cleanup
Mar 27, 2026
Merged

Clean up token page and show USD balance#607
realproject7 merged 1 commit intomainfrom
task/595-token-page-cleanup

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

Fixes #595

  • Remove "How to Get PLOT" section — redundant with the swap interface and external links already on the page
  • Add USD equivalent below the PLOT balance amount, calculated from tokenInfo.price * balance. Only shown when balance > 0 and price data is available. Styled as text-background/60 to stay subtle within the accent card.

Test plan

  • Token page no longer shows "How to Get PLOT" section
  • Connected wallet with PLOT balance shows USD value below the PLOT amount
  • Zero balance does not show USD line
  • Disconnected wallet shows "Connect your wallet" (unchanged)
  • Build passes

🤖 Generated with Claude Code

Remove the "How to Get PLOT" section. Add USD equivalent below the
PLOT balance amount using the existing token price data from
useTokenInfo(). Only shown when balance > 0 and price is available.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Mar 27, 2026 5:33pm

Request Review

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR cleanly removes the obsolete "How to Get PLOT" section and adds the USD equivalent directly under the balance using the existing token price data already loaded on the page.

Findings

  • None.

Decision

Approved because the change matches issue #595, stays tightly scoped to the token page cleanup, and does not introduce new data-fetching or unrelated UI changes.

@realproject7 realproject7 merged commit b3083f1 into main Mar 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Token page cleanup — remove How to Get PLOT section, add USD value to balance

2 participants